package com.neu.doc;

import java.util.List;

import com.neu.domain.ShoppingBrand;
import com.neu.domain.ShoppingGoods;
import com.neu.domain.ShoppingGoodsAttribute;
import com.neu.domain.ShoppingGoodsProduct;
import com.neu.domain.ShoppingGoodsSpecification;
import com.neu.domain.ShoppingIssue;

import io.swagger.annotations.ApiModelProperty;

public class WxGoodsController_detail {
	@ApiModelProperty(value="用户收藏商品详情",dataType="ShoppingColllectdetailDate")
	private ShoppingColllectdetailDate data; 
	@ApiModelProperty(value="错误编码，成功是0",dataType="integer")
	private Integer errno=0;
	@ApiModelProperty(value="错误信息描述",dataType="string")
	private String errmsg="成功";
	
	public Integer getErrno() {
		return errno;
	}
	public void setErrno(Integer errno) {
		this.errno = errno;
	}
	public String getErrmsg() {
		return errmsg;
	}
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	public ShoppingColllectdetailDate getData() {
		return data;
	}
	public void setData(ShoppingColllectdetailDate data) {
		this.data = data;
	}
	
	public class ShoppingColllectdetailDate {
		
		@ApiModelProperty(value="返回定制的specificationList",dataType="ShoppingSpedetailDate")
	    private ShoppingSpedetailDate specificationList;

		public ShoppingSpedetailDate getSpecificationList() {
			return specificationList;
		}
		public void setSpecificationList(ShoppingSpedetailDate specificationList) {
			this.specificationList = specificationList;
		}
		public class ShoppingSpedetailDate{
			@ApiModelProperty(value="规格",dataType="string")
			private String name="规格";
			@ApiModelProperty(value="用户收藏商品详情再详情",dataType="List<ShoppingGoodsSpecification>")
		    private List<ShoppingGoodsSpecification> valueList;
			public String getName() {
				return name;
			}
			public void setName(String name) {
				this.name = name;
			}
			public List<ShoppingGoodsSpecification> getValueList() {
				return valueList;
			}
			public void setValueList(List<ShoppingGoodsSpecification> valueList) {
				this.valueList = valueList;
			}
			
			
		}
		String[] groupon;
		private List<ShoppingIssue> issue;

		public String[] getGroupon() {
			return groupon;
		}
		public void setGroupon(String[] groupon) {
			this.groupon = groupon;
		}
		@ApiModelProperty(value="问题",dataType="ShoppingIssue")
		public List<ShoppingIssue> getIssue() {
			return issue;
		}
		public void setIssue(List<ShoppingIssue> issue) {
			this.issue = issue;
		}
		@ApiModelProperty(value="用户是否收藏",dataType="int")
		private int userHasCollect = 1;
		@ApiModelProperty(value="分享图片地址",dataType="string")
		private String shareImage="";
		@ApiModelProperty(value="是否分享",dataType="boolean")
		private boolean share = false;
		@ApiModelProperty(value="商品属性",dataType="List<ShoppingGoodsAttribute>")
		List<ShoppingGoodsAttribute> attribute;
		@ApiModelProperty(value="商品品牌商",dataType="List<ShoppingBrand>")
		private List<ShoppingBrand> brand;

		public int getUserHasCollect() {
			return userHasCollect;
		}
		public void setUserHasCollect(int userHasCollect) {
			this.userHasCollect = userHasCollect;
		}
		public String getShareImage() {
			return shareImage;
		}
		public void setShareImage(String shareImage) {
			this.shareImage = shareImage;
		}
		public boolean isShare() {
			return share;
		}
		public void setShare(boolean share) {
			this.share = share;
		}
		public List<ShoppingGoodsAttribute> getAttribute() {
			return attribute;
		}
		public void setAttribute(List<ShoppingGoodsAttribute> attribute) {
			this.attribute = attribute;
		}
		public List<ShoppingBrand> getBrand() {
			return brand;
		}
		public void setBrand(List<ShoppingBrand> brand) {
			this.brand = brand;
		}
		@ApiModelProperty(value="商品规格对应的数量和价格",dataType="List<ShoppingGoodsProduct>")
		private List<ShoppingGoodsProduct> productList;
		@ApiModelProperty(value="商品信息",dataType="ShoppingGoods")
		private ShoppingGoods info;

		public List<ShoppingGoodsProduct> getProductList() {
			return productList;
		}
		public void setProductList(List<ShoppingGoodsProduct> productList) {
			this.productList = productList;
		}
		public ShoppingGoods getInfo() {
			return info;
		}
		public void setInfo(ShoppingGoods info) {
			this.info = info;
		}
		
		

	}
}